home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
VRML 2.0 Sourcebook (2nd Edition)
/
VRML 2.0 Sourcebook CD [md5 fed90f4f9c39d5a60d477058775c7e21].iso
/
book
/
win
/
ch12
/
arch.wrl
< prev
next >
Wrap
Text File
|
1996-09-23
|
1KB
|
55 lines
#VRML V2.0 utf8
# The VRML 2.0 Sourcebook
# Copyright 1997 By
# Andrea L. Ames, David R. Nadeau, and John L. Moreland
Group {
children [
# First archway
# Left Column
DEF LeftColumn Transform {
translation -2.0 3.0 0.0
children DEF Column Shape {
appearance DEF White Appearance {
material Material { }
}
geometry Cylinder {
radius 0.3
height 6.0
}
}
},
# Right Column
DEF RightColumn Transform {
translation 2.0 3.0 0.0
children USE Column
},
# Archway span
DEF ArchwaySpan Transform {
translation 0.0 6.05 0.0
children Shape {
appearance USE White
geometry Box {
size 4.6 0.4 0.6
}
}
},
# Left Roof
DEF LeftRoof Transform {
translation -1.15 7.12 0.0
rotation 0.0 0.0 1.0 0.524
children DEF Roof Shape {
appearance USE White
geometry Box {
size 2.86 0.4 0.6
}
}
},
# Right Roof
DEF LeftRoof Transform {
translation 1.15 7.12 0.0
rotation 0.0 0.0 1.0 -0.524
children USE Roof
}
]
}